package com.mcgrobot.vo;

import java.util.List;

public class DataGrid<T> {

	/**
	 * 每页条数
	 */
	private Integer pagesize;
	/**
	 * 当前页码
	 */
	private  Integer page;
	/**
	 * 数据总数
	 */
	private  Integer count;
	/**
	 * 分页数据
	 */
	private List<T> rows;
	/**
	 * 排序字段
	 */
	private String sortField;
	/**
	 * 排序方式
	 * desc asc
	 */
	private String order;

	public String getSortField() {
		return sortField;
	}

	public void setSortField(String sortField) {
		this.sortField = sortField;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}

	public Integer getPagesize() {
		return pagesize;
	}
	public void setPagesize(Integer pagesize) {
		this.pagesize = pagesize;
	}
	public Integer getPage() {
		return page;
	}
	public void setPage(Integer page) {
		this.page = page;
	}
	public Integer getCount() {
		return count;
	}
	public void setCount(Integer count) {
		this.count = count;
	}
	public List<T> getRows() {
		return rows;
	}
	public void setRows(List<T> rows) {
		this.rows = rows;
	}
	
}
